Write the output of the following: >>> str1 = 'India is a Great is Country' >>> str1.partition('is')
1.(‘India ‘, ‘is’, ‘ a Great is Country’)
2.(‘India ‘, ‘is’, ‘a Great’, ‘is’, ‘Country’)
3.(‘India ‘, ‘is’, ‘ a Great Country’)
4.Error
Posted Date:-2021-12-11 19:37:39